<template>
  <div class="shopping">
    <div class="shop_header">
      购物车
      <span @click="show=!show">管理</span>
    </div>
    <shoppinglist :show=show></shoppinglist>
    <tabbar></tabbar>
  </div>
</template>

<script>
import tabbar from "@/components/tabbar";
import shoppinglist from "@/components/shopcomponents/shoppinglist";
export default {
  data() {
    return {
      show:true,
      active: 0
    };
  },
  components: {
    tabbar,
    shoppinglist
  }
};
</script>
<style>
.shop_header {
  width: 100%;
  position: relative;
  height: auto;
  background-color: white;
  border-bottom: 1px solid #f0f0f0;
  text-align: center;
  font-size: 16px;
  padding: 10px 0px;
}
.shop_header span{
  position: absolute;
  right: 10px;;
}
</style>

